Skip to content

Try using sip-build and Python3_add_library for Qt5/Qt6#157

Draft
sloretz wants to merge 1 commit intorollingfrom
sloretz__use_sip_build_qt5_qt6
Draft

Try using sip-build and Python3_add_library for Qt5/Qt6#157
sloretz wants to merge 1 commit intorollingfrom
sloretz__use_sip_build_qt5_qt6

Conversation

@sloretz
Copy link
Contributor

@sloretz sloretz commented Mar 17, 2026

I'm playing around with an alternative to #143.

If I understand correctly, and I'm not sure that I do, python_qt_binding uses a Python script sip_configure.py to produce a Makefile that produces a cPython extension. This PR uses sip-build and the CMake function Python3_add_library to build a cPython extension instead.

I'm not sure that this works yet. There are too many pieces to test it on Resolute, so I'm going to try iterating on Noble later this week.

I used Gemini 3.1 Pro to help make this PR

Signed-off-by: Shane Loretz <sloretz@intrinsic.ai>
@sloretz sloretz self-assigned this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant